package com.huadi.ssm.service;

import com.huadi.ssm.dao.LawexecutorMapper;
import com.huadi.ssm.po.Lawexecutor;
import com.huadi.ssm.po.LawexecutorExample;

import java.util.List;

public class LawexecutorServiceImpl implements LawexecutorMapper {

    private LawexecutorMapper lawexecutorMapper;

    public void setLawexecutorMapper(LawexecutorMapper lawexecutorMapper) {
        this.lawexecutorMapper = lawexecutorMapper;
    }

    @Override
    public long countByExample(LawexecutorExample example) {
        return lawexecutorMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(LawexecutorExample example) {
        return lawexecutorMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String lawExecutorId) {
        return lawexecutorMapper.deleteByPrimaryKey(lawExecutorId);
    }

    @Override
    public int insert(Lawexecutor record) {
        return lawexecutorMapper.insert(record);
    }

    @Override
    public int insertSelective(Lawexecutor record) {
        return lawexecutorMapper.insertSelective(record);
    }

    @Override
    public List<Lawexecutor> selectByExample(LawexecutorExample example) {
        return lawexecutorMapper.selectByExample(example);
    }

    @Override
    public Lawexecutor selectByPrimaryKey(String lawExecutorId) {
        return lawexecutorMapper.selectByPrimaryKey(lawExecutorId);
    }

    @Override
    public int updateByExampleSelective(Lawexecutor record, LawexecutorExample example) {
        return lawexecutorMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(Lawexecutor record, LawexecutorExample example) {
        return lawexecutorMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(Lawexecutor record) {
        return lawexecutorMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Lawexecutor record) {
        return lawexecutorMapper.updateByPrimaryKey(record);
    }
}
